﻿using System;

class SumOfN
{
    static void Main()
    {   
        Console.Write("n = ");
        int n = int.Parse(Console.ReadLine());
        int sum = 0;
        int count = 0;

        for (int i = 1; i <= n; i++)
        {
            Console.Write("Enter number "+i + ": ");
            sum += int.Parse(Console.ReadLine());
            count = i;
        }
        Console.WriteLine("The sum of the " + count + " numbers is: " + sum);
    }
}
